package jea.machine.gui;

import java.awt.BorderLayout;

import javax.swing.JInternalFrame;
import javax.swing.JPanel;

import jea.machine.PanelOuvertureTransverse;

public class FrameOuverture extends JInternalFrame
{
	private static final long serialVersionUID = 1L;
	protected JPanel panelMain;
	
	public FrameOuverture()
	  {
	    	this.setClosable(false);
	    	this.setIconifiable(true);
	    	this.setMaximizable(false);
	    	this.setResizable(true);
	    	this.setTitle("Transverse Aperture");
		    //this.setBorder(new LineBorder(Color.DARK_GRAY,1));
		    this.setLocation(10, 10);
		    this.setSize(900, 700);
		    this.setVisible(true);
	    	
		    initFrame();
	  }
	  private void initFrame()
	  {
	    	this.setLayout(new BorderLayout());
	    	//panelMain = new JPanel(new BorderLayout());
	    	//this.add(panelMain);
	    	
	    	//PanelGraphic pg = new PanelGraphic();
	    	PanelOuvertureTransverse ot = new PanelOuvertureTransverse();
	    	this.add(ot);
  
	  }
}
